You can choose any input-mode parallel port pin--10, 11, 12, 13, or 15. connect it in your hal file with a line like
If the signal is inverted (starts at 5V when probe is not in contact, goes to 0V when the probe makes contact), then use the inverted version of the pin:
Links to home built touch probes
http://www.indoor.flyer.co.uk/probe.htm
http://www.brusselsprout.org/CNC/1P-Probe/
http://www.cnczone.com/forums/digitizing_laser_digitizing/28308-who_want_make_touch_probe.html
http://www.cnczone.com/forums/digitizing_laser_digitizing/22837-cheap_home_made_touch_probe.html
The original Renishaw probe patent (now expired):
http://www.google.com/patents/ Then enter patent number 5146691
This is a simple alternative for the balls/rod arrangement of the Renishaw touch probe.: